﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DiamondDesktop.Views;
using System.Windows.Controls;


namespace DiamondDesktop.Presenters
{
     public class NewtaskPresenter
    {
         private readonly ApplicationController _controller;

        public NewtaskPresenter(ApplicationController controller)
        {
            _controller = controller;
            _controller.DisplayInShell(new NewTView(this));
        }

        //private void Display<View, MediaType>(
        //   string mediaPath,
        //   params string[] extensions
        //   )
        //    where View : UserControl, new()
        //{


        //    View view = new View();
        //    view.DataContext = presenter;

        //    _controller.DisplayInShell(view);
        //}


    }
}
